@charset "utf-8";
html,body{
    height: 100%;
}
// header
header{
    height: .88rem;
    display: flex;
    position: fixed;
    top: 0;
    right: 0;left: 0;
    .sou_l,.ling_r{
        width: .84rem;
        height: .88rem;
        display: flex;
        justify-content: center;
        align-items: center;
        .iconfont{
            font-size: 44px;
        }
    }
    .sou_l{
        float: left;
    }
    .ling_r{
        float: right;
    }
    .logo{
        float: left;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

// main
main{
    width: 100%;
    height: 100%;
    padding: .88rem 0 1.3rem;
    .seeWrap{
        width: 100%;
        height: 100%;
        overflow-y: auto;
        .content-wrap{
            width: 100%;
            //banner
            .banner_con{
                height: 4.2rem;
                position: relative;
                > a > img{
                    width: 100%;
                    height: 100%;
                }
                .banner_list{
                    display: flex;
                    width: 100%;
                    margin: 0 auto;
                    height: 0.6rem;
                    position: absolute;
                    bottom: 0;
                    justify-content: center;
                    align-items: center;
                    > li{
                        width: 0.12rem;
                        height: 0.08rem;
                        border-radius: 0.08rem;
                        background: #333;
                        opacity: 0.5;
                        margin: 0 0.1rem;
                    }
                    > li:hover{
                        width: 30px;
                        background: #fff;
                    }
                }
            }
            //每日秒杀list
            .nav_list{
                width: 100%;
                height: 1.5rem;
                display: flex;
                justify-content: space-around;
                align-items: center;
                .list_dl{
                    width: 0.9rem;
                    height: 1.16rem;
                    > dt{
                        display: flex;
                        justify-content: center;
                        margin-bottom: 0.1rem;
                    }
                    > dd{
                        display: flex;
                        justify-content: center;
                        font-size: 20px;
                    }
                }
            }
            //生活研究所
            .life_wrap{
                width: 100%;
                height: 1.68rem;
                background: #f4f4f4;
                display: flex;
                justify-content: center;
                align-items: center;
                .life_ad{
                    width: 7.5rem;
                    height: 1.28rem;
                    background: url(../images/bg.png) no-repeat center;
                    .life_tit{
                        margin:0.2rem 0 0 1.86rem;
                        font-size: 24px;
                        > h3,h4{
                            font-size: 24px;
                            display: flex;
                            line-height: 0.3rem;
                            > a{
                                display: block;
                                width: 0.6rem;
                                height: 0.3rem;
                                border: 1px solid #c9bea2;
                                color: #c9bea2;
                                text-align: center;
                                line-height: 0.3rem;
                                margin-right: 0.2rem;
                            }
                        }
                        > h3{
                            margin-bottom: 0.2rem;
                        }
                    }
                    
                }
            }
            //  ad & 商品展示
            .adShow_wrap{
                width: 100%;
                .adShow_con{
                    width: 100%;
                    height: 100%;
                    margin-bottom: .2rem;
                    .ad_top{
                        padding: 0 .24rem;
                        > img{
                            width: 100%;
                            height: 3.4rem;
                        }
                    }
                    .show_bot{
                        margin-top: .08rem;
                        display: flex;
                        align-items: center;
                        overflow-x: auto;
                        .show_pro{
                            width: 2rem;
                            height: 2.96rem;
                            display: flex;
                            flex-direction: column;
                            margin-right: 0.2rem;
                            flex-shrink: 0;
                            > a > img{
                                width: 100%;
                                height: 2rem;
                            }
                            > figcaption{
                                display: flex;
                                flex-direction: column;
                                text-align: center;
                                > p{
                                    font-size: 18px;
                                    margin-bottom: 0.15rem;
                                }
                                > h6{
                                    font-weight: bold;
                                    font-size: 24px;
                                }
                            }
                        }
                    }
                }
                .adShow_bottom{
                    border-top: .2rem solid #f4f4f4;
                }
            }
            // 全球必买
            .global_wrap{
                width: 100%;
                margin-top: .4rem;
                .global_tit{
                    width: 100%;
                    height: 1.12rem;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    background: -webkit-linear-gradient(top,#fff,#f4f4f4);
                    > h3{
                        font-size: 26px;
                        font-weight: bold;
                        letter-spacing: .5rem;
                    }
                    > p{
                        font-size: 22px;
                    }
                }
                .global_con{
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    background: #f4f4f4;
                    padding: 0 .39rem;
                    .global_pro{
                        width: 3.2rem;
                        height: 4.44rem;
                        border: 1px solid #f4f4f4;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        background: #fff;
                        margin-bottom: .3rem;
                        > a > img{
                            width: 100%;
                            height: 3.2rem;
                            display: block;
                        }
                        > figcaption{
                            width: 2.52rem;
                            height: 1.24rem;
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            > p{
                                height: .6rem;
                                font-size: 22px;
                                line-height: .3rem;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                display: -webkit-box;
                                -webkit-line-clamp: 2;
                                -webkit-box-orient: vertical;
                            }
                            > h5{
                                display: flex;
                                flex: 1;
                                align-items: center;
                                justify-content: space-between;
                                > span{
                                    font-size: 24px;
                                    color: #ff4c79;
                                }
                                > em{
                                    color: #b4b4b4;
                                    font-size: 20px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

footer{
    width: 100%;
    height: 1.3rem;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    right: 0;left: 0;
    border-top: 1px solid #bbb;
    display: flex;
    justify-content: space-around;
    align-items: center; 
   .foot-wrap{
       display: flex;
       flex-direction: column;
       justify-content: center;
       color: #bdbdbd;
       > .pic_c{
        display: none;
       }
   }
   > .foot-wrap:hover{
       color: #000;
   }
   > .foot-wrap:hover > .pic{
       display: none;
   }
   > .foot-wrap:hover > .pic_c{
       display: block;
   }
}